<template>
  <el-container class="home-container">
    <el-aside width="200px">
      <el-menu router>
        <el-menu-item index="/merchant/info">商家信息</el-menu-item>
        <el-menu-item index="/merchant/food">菜品管理</el-menu-item>
        <el-menu-item index="/merchant/image">图片管理</el-menu-item>
        <el-menu-item index="/merchant/report">评价图表</el-menu-item>
      </el-menu>
    </el-aside>
    <el-main>
      <router-view></router-view>
    </el-main>
  </el-container>
</template>

<script>
export default {
  name: 'MerchantHome',
  data () {
    return {
    }
  }
}
</script>

<style scoped>
.home-container {
  width: 1200px;
  position: absolute;
  left: 50%;
  transform: translate(-600px);
}
.el-menu {
  border-right: none;
}
.el-menu-item {
  text-align: center;
}
</style>
